inherited frmSelectSubRaw: TfrmSelectSubRaw
  Left = 340
  Top = 175
  Caption = #36873#25321#26367#20195#21697
  ClientHeight = 433
  ClientWidth = 825
  PixelsPerInch = 96
  TextHeight = 12
  inherited Panel1: TPanel
    Width = 825
    Height = 69
    inherited labFuncName: TLabel
      Width = 65
      Caption = #36873#25321#26367#20195#21697
      Visible = False
    end
    inherited labFuncDesc: TLabel
      Visible = False
    end
    inherited img3: TImage
      Left = 774
    end
    inherited Bevel1: TBevel
      Top = 66
      Width = 825
    end
    object Label2: TLabel
      Left = 15
      Top = 19
      Width = 54
      Height = 12
      Caption = #36135#21697#32534#30721':'
      Font.Charset = GB2312_CHARSET
      Font.Color = clWhite
      Font.Height = -12
      Font.Name = #23435#20307
      Font.Style = []
      ParentFont = False
      Transparent = True
    end
    object Label1: TLabel
      Left = 231
      Top = 19
      Width = 54
      Height = 12
      Caption = #36135#21697#21517#31216':'
      Font.Charset = GB2312_CHARSET
      Font.Color = clWhite
      Font.Height = -12
      Font.Name = #23435#20307
      Font.Style = []
      ParentFont = False
      Transparent = True
    end
    object Label3: TLabel
      Left = 39
      Top = 39
      Width = 30
      Height = 12
      Caption = #35268#26684':'
      Font.Charset = GB2312_CHARSET
      Font.Color = clWhite
      Font.Height = -12
      Font.Name = #23435#20307
      Font.Style = []
      ParentFont = False
      Transparent = True
    end
    object Label4: TLabel
      Left = 255
      Top = 39
      Width = 30
      Height = 12
      Caption = #21333#20301':'
      Font.Charset = GB2312_CHARSET
      Font.Color = clWhite
      Font.Height = -12
      Font.Name = #23435#20307
      Font.Style = []
      ParentFont = False
      Transparent = True
    end
    object lblP_Code: TLabel
      Left = 73
      Top = 19
      Width = 54
      Height = 12
      Caption = 'lblP_Code'
      Font.Charset = GB2312_CHARSET
      Font.Color = clWhite
      Font.Height = -12
      Font.Name = #23435#20307
      Font.Style = []
      ParentFont = False
      Transparent = True
    end
    object lblP_Name: TLabel
      Left = 287
      Top = 19
      Width = 54
      Height = 12
      Caption = 'lblP_Name'
      Font.Charset = GB2312_CHARSET
      Font.Color = clWhite
      Font.Height = -12
      Font.Name = #23435#20307
      Font.Style = []
      ParentFont = False
      Transparent = True
    end
    object lblP_Spec: TLabel
      Left = 73
      Top = 39
      Width = 54
      Height = 12
      Caption = 'lblP_Spec'
      Font.Charset = GB2312_CHARSET
      Font.Color = clWhite
      Font.Height = -12
      Font.Name = #23435#20307
      Font.Style = []
      ParentFont = False
      Transparent = True
    end
    object lblUnitName: TLabel
      Left = 287
      Top = 39
      Width = 66
      Height = 12
      Caption = 'lblUnitName'
      Font.Charset = GB2312_CHARSET
      Font.Color = clWhite
      Font.Height = -12
      Font.Name = #23435#20307
      Font.Style = []
      ParentFont = False
      Transparent = True
    end
    object Label5: TLabel
      Left = 451
      Top = 39
      Width = 30
      Height = 12
      Caption = #25968#37327':'
      Font.Charset = GB2312_CHARSET
      Font.Color = clWhite
      Font.Height = -12
      Font.Name = #23435#20307
      Font.Style = []
      ParentFont = False
      Transparent = True
    end
    object lblQty: TLabel
      Left = 483
      Top = 39
      Width = 36
      Height = 12
      Caption = 'lblQty'
      Font.Charset = GB2312_CHARSET
      Font.Color = clWhite
      Font.Height = -12
      Font.Name = #23435#20307
      Font.Style = []
      ParentFont = False
      Transparent = True
    end
  end
  inherited pnlBottom: TPanel
    Top = 378
    Width = 825
    TabOrder = 2
    inherited bvl1: TBevel
      Width = 825
    end
    inherited btnOK: TcxButton
      Left = 648
      TabOrder = 2
    end
    inherited btnCancel: TcxButton
      Left = 735
      TabOrder = 3
    end
    object btnSelAll: TcxButton
      Left = 449
      Top = 12
      Width = 75
      Height = 25
      Anchors = [akRight, akBottom]
      Caption = #20840#36873
      TabOrder = 0
      Visible = False
      OnClick = btnSelAllClick
      LookAndFeel.Kind = lfUltraFlat
    end
    object btnEmpty: TcxButton
      Left = 535
      Top = 12
      Width = 75
      Height = 25
      Anchors = [akRight, akBottom]
      Caption = #28165#31354
      TabOrder = 1
      Visible = False
      OnClick = btnEmptyClick
      LookAndFeel.Kind = lfUltraFlat
    end
  end
  object grdsub: TcxGrid
    Left = 0
    Top = 69
    Width = 825
    Height = 309
    Align = alClient
    TabOrder = 1
    OnEnter = grdsubEnter
    object viewSub: TcxGridDBTableView
      Navigator.Buttons.CustomButtons = <>
      DataController.DataSource = dsSub
      DataController.Summary.DefaultGroupSummaryItems = <>
      DataController.Summary.FooterSummaryItems = <>
      DataController.Summary.SummaryGroups = <>
      OptionsBehavior.FocusCellOnTab = True
      OptionsBehavior.FocusFirstCellOnNewRecord = True
      OptionsBehavior.GoToNextCellOnEnter = True
      OptionsBehavior.FocusCellOnCycle = True
      OptionsBehavior.PullFocusing = True
      OptionsData.Deleting = False
      OptionsData.Inserting = False
      OptionsView.ColumnAutoWidth = True
      OptionsView.GroupByBox = False
      Styles.Background = MainDM.bslBackGroup
      Styles.ContentEven = MainDM.bsEven
      Styles.ContentOdd = MainDM.bsOdd
      Styles.Selection = MainDM.bsSelect
      Styles.Header = MainDM.bsTitle
      object viewSubchoice: TcxGridDBColumn
        Caption = #36873#25321
        DataBinding.FieldName = 'choice'
        HeaderAlignmentHorz = taCenter
        Width = 30
      end
      object viewSubORDERNO: TcxGridDBColumn
        Caption = #32534#21495
        DataBinding.FieldName = 'orderno'
        HeaderAlignmentHorz = taCenter
        Width = 50
      end
      object viewSubp_code: TcxGridDBColumn
        Caption = #26367#20195#21697#32534#30721
        DataBinding.FieldName = 'p_code'
        HeaderAlignmentHorz = taCenter
        Width = 100
      end
      object viewSubsubrawid: TcxGridDBColumn
        Caption = #21517#31216
        DataBinding.FieldName = 'subrawid'
        Visible = False
        HeaderAlignmentHorz = taCenter
        Width = 80
      end
      object viewSubp_name: TcxGridDBColumn
        Caption = #20135#21697#21517#31216
        DataBinding.FieldName = 'p_name'
        HeaderAlignmentHorz = taCenter
        Width = 100
      end
      object viewSubp_spec: TcxGridDBColumn
        Caption = #20135#21697#35268#26684
        DataBinding.FieldName = 'p_spec'
        HeaderAlignmentHorz = taCenter
        Width = 110
      end
      object viewSubUNITNAME: TcxGridDBColumn
        Caption = #21333#20301
        DataBinding.FieldName = 'unitname'
        HeaderAlignmentHorz = taCenter
        Width = 60
      end
      object viewSubRATE: TcxGridDBColumn
        Caption = #26367#25442#29575
        DataBinding.FieldName = 'rate'
        HeaderAlignmentHorz = taCenter
        Width = 50
      end
      object viewSubQUANTITY: TcxGridDBColumn
        Caption = #21152#24037#25968#37327
        DataBinding.FieldName = 'quantity'
        HeaderAlignmentHorz = taCenter
        Width = 80
      end
      object viewSubdrawQTY: TcxGridDBColumn
        Caption = #39046#29992#25968#37327
        DataBinding.FieldName = 'drawqty'
        HeaderAlignmentHorz = taCenter
        Width = 80
      end
      object viewSubWASTEDQTY: TcxGridDBColumn
        Caption = #20351#29992#25968#37327
        DataBinding.FieldName = 'wastedqty'
        HeaderAlignmentHorz = taCenter
        Width = 80
      end
      object viewSubexplan: TcxGridDBColumn
        Caption = #22791#27880
        DataBinding.FieldName = 'explan'
        HeaderAlignmentHorz = taCenter
        Width = 120
      end
    end
    object lvlSub: TcxGridLevel
      GridView = viewSub
    end
  end
  object qrySub: TUniQuery
    Connection = MainDM.UniConn
    CachedUpdates = True
    Options.SetFieldsReadOnly = False
    Options.RequiredFields = False
    Options.QueryRecCount = True
    Left = 40
    Top = 356
  end
  object dspSub: TDataSetProvider
    DataSet = qrySub
    Left = 100
    Top = 360
  end
  object cdsSub: TClientDataSet
    Aggregates = <>
    Params = <>
    ProviderName = 'dspSub'
    Left = 160
    Top = 356
  end
  object dsSub: TDataSource
    DataSet = cdsSub
    Left = 212
    Top = 360
  end
  object pmSub: TPopupMenu
    Left = 300
    Top = 164
    object muAppSub: TMenuItem
      Caption = #26032#22686#26367#20195#21697
      OnClick = muAppSubClick
    end
    object muDelSub: TMenuItem
      Caption = #21024#38500#26367#20195#21697
      OnClick = muDelSubClick
    end
  end
end
